package utils
{
public class ClockLinkUtil
{
	
	[Bindable]
	public static var COLORS:Array =
	[
		{data:"red", label:"red"},
		{data:"orange", label:"orange"},
		{data:"yellow", label:"yellow"},
		{data:"green", label:"green"},
		{data:"blue", label:"blue"},
		{data:"gray", label:"gray"}
	];
	
	[Bindable]
	public static var TIMEZONES:Array =
		[
			{value:"ACDT", label:"ACDT: Australia Central Time (GMT + 10:30)"},
           {value:"ACST", label:"ACST: Australia Central Time (GMT + 09:30)"},

           {value:"AEDT", label:"AEDT: Australia Eastern Time (GMT + 10:00)"},
           {value:"AEST", label:"AEST: Australia Eastern Time (GMT + 10:00)"},
           {value:"AHST", label:"AHST: Alaska-Hawaii Std Time (GMT - 10:00)"},
           {value:"AKST", label:"AKST: Alaska Std Time (GMT - 9:00)"},
           {value:"AST", label:"AST: Atlantic Std Time (GMT - 04:00)"},
           {value:"AWST", label:"AWST: Australia Western Time (GMT + 08:00)"},

           {value:"BRADT", label:"BRADT: Brazilian Acre Daylight Time (GMT - 04:00)"},
           {value:"BRAST", label:"BRAST: Brazilian Acre Standard Time (GMT - 05:00)"},
           {value:"BRDT", label:"BRDT: Brazilian Daylight Time (GMT - 02:00)"},
           {value:"BREDT", label:"BREDT: Brazilian Eastern Daylight Time (GMT - 01:00)"},
           {value:"BREST", label:"BREST: Brazilian Eastern Standard Time (GMT - 02:00)"},
           {value:"BRST", label:"BRST: Brazilian Standard Time (GMT - 03:00)"},

           {value:"BRWDT", label:"BRWDT: Brazilian Western Daylight Time (GMT - 03:00)"},
           {value:"BRWST", label:"BRWST: Brazilian Western Standard Time (GMT - 04:00)"},
           {value:"CCT", label:"CCT: China Coastal Time (GMT + 08:00)"},
           {value:"CDT", label:"CDT: Central Daylight Saving Time (GMT - 05:00)"},
           {value:"CET", label:"CET: Central Europe Time (GMT + 01:00)"},
           {value:"CST", label:"CST: Central Time (GMT - 06:00)"},

           {value:"EAT", label:"EAT: East Africa Time (GMT + 02:00)"},
           {value:"EET", label:"EET: Eastern Europe Time (GMT + 02:00)"},
           {value:"EST", label:"EST: Eastern Time (GMT - 05:00)"},
           {value:"GMT", label:"GMT"},
           {value:"GMT0100", label:"GMT + 01:00"},
           {value:"GMT0200", label:"GMT + 02:00"},

           {value:"GMT0300", label:"GMT + 03:00"},
           {value:"GMT0330", label:"GMT + 03:30"},
           {value:"GMT0400", label:"GMT + 04:00"},
           {value:"GMT0430", label:"GMT + 04:30"},
           {value:"GMT0500", label:"GMT + 05:00"},
           {value:"GMT0530", label:"GMT + 05:30"},

           {value:"GMT0545", label:"GMT + 05:45"},
           {value:"GMT0600", label:"GMT + 06:00"},
           {value:"GMT0630", label:"GMT + 06:30"},
           {value:"GMT0700", label:"GMT + 07:00"},
           {value:"GMT0710", label:"GMT + 07:10"},
           {value:"GMT0730", label:"GMT + 07:30"},

           {value:"GMT0800", label:"GMT + 08:00"},
           {value:"GMT0830", label:"GMT + 08:30"},
           {value:"GMT0900", label:"GMT + 09:00"},
           {value:"GMT0930", label:"GMT + 09:30"},
           {value:"GMT1000", label:"GMT + 10:00"},
           {value:"GMT1100", label:"GMT + 11:00"},

           {value:"GMT1200", label:"GMT + 12:00"},
           {value:"GMT1300", label:"GMT + 13:00"},
           {value:"GMT-0100", label:"GMT - 01:00"},
           {value:"GMT-0200", label:"GMT - 02:00"},
           {value:"GMT-0230", label:"GMT - 02:30"},
           {value:"GMT-0300", label:"GMT - 03:00"},

           {value:"GMT-0330", label:"GMT - 03:30"},
           {value:"GMT-0400", label:"GMT - 04:00"},
           {value:"GMT-0430", label:"GMT - 04:30"},
           {value:"GMT-0500", label:"GMT - 05:00"},
           {value:"GMT-0600", label:"GMT - 06:00"},
           {value:"GMT-0700", label:"GMT - 07:00"},

           {value:"GMT-0800", label:"GMT - 08:00"},
           {value:"GMT-0900", label:"GMT - 09:00"},
           {value:"GMT-1000", label:"GMT - 10:00"},
           {value:"GMT-1100", label:"GMT - 11:00"},
           {value:"GMT-1200", label:"GMT - 12:00"},
           {value:"ICT", label:"ICT: Bangkok Time (GMT + 07:00)"},

           {value:"IST", label:"IST: Israel Standard Time (GMT + 02:00)"},
           {value:"JOG", label:"JOG: Jogjakarta Indonesia Time(GMT + 07:00)"},
           {value:"JST", label:"JST: Japan Time (GMT + 09:00)"},
           {value:"MST", label:"MST: Mountain Time (GMT - 07:00)"},
           {value:"MX-CST", label:"MX-CST: Mexico Central Time (GMT - 06:00)"},
           {value:"MX-MST", label:"MX-MST: Mexico Mountain Time (GMT - 07:00)"},

           {value:"MX-PST", label:"MX-PST: Mexico Pacific Time (GMT - 08:00)"},
           {value:"NZT", label:"NZT: New Zealand Time (GMT + 12:00)"},
           {value:"PST", label:"PST: Pacific Time (GMT - 08:00)"},
           {value:"R1T", label:"R1T: Russia Time 1 (GMT + 02:00)"},
           {value:"R2T", label:"R2T: Russia Time 2 (GMT + 03:00)"},
           {value:"SAST", label:"SAST: Australian South Standard Time (GMT + 09:30)"},

           {value:"USZ3", label:"USZ3: Russia Time 3 (GMT + 04:00)"},
           {value:"USZ4", label:"USZ4: Russia Time 4 (GMT + 05:00)"},
           {value:"USZ5", label:"USZ5: Russia Time 5 (GMT + 06:00)"},
           {value:"USZ6", label:"USZ6: Russia Time 6 (GMT + 07:00)"},
           {value:"USZ7", label:"USZ7: Russia Time 7 (GMT + 08:00)"},
           {value:"USZ8", label:"USZ8: Russia Time 8 (GMT + 09:00)"},

           {value:"USZ9", label:"USZ9: Russia Time 9 (GMT + 10:00)"},
           {value:"WET", label:"WET: Western Europe Time (GMT + 00:00)"}
		];
	
	public static var CLOCK_PATH:String	= "http://www.clocklink.com/clocks/";
	
	public static function getClockURL(id:String, color:String, timeZone:String):String
	{
		return CLOCK_PATH + id + "-" + color + ".swf?TimeZone=" + timeZone;
	}
}
}